import http from '@/utils/http';

export async function similarQuestionList(body) {
  return http.postFormData('/similar/question/list', body);
}

export async function similarQuestionDelete(body) {
  return http.postFormData('/similar/question/delete', body);
}

export async function similarlibQuestionList(body) {
  return http.postFormData('/similar/libQuestion/list', body);
}

export async function similarlibQuestionDelete(body) {
  return http.postFormData('/similar/libQuestion/delete', body);
}

export async function similarRecommendQuestiongetTaskInfo(body) {
  return http.get('/similar/recommendQuestion/getTaskInfo', body);
}

export async function similarRecommendQuestiongetProcess(body) {
  return http.get('/similar/recommendQuestion/getProcess', body);
}

export async function similarRecommendQuestionsubmitTask(body) {
  return http.get('/similar/recommendQuestion/submitTask', body);
}

// 扩展相似问 生成系统相似问
export async function postGenSysQuestion(body) {
  return http.post('/learn/knowledge/examine/similar/genSysQuestion', body)
}

// 扩展相似问 生成相似问状态
export async function getGenSysQuestionStatus(body) {
  return http.get('/learn/knowledge/examine/similar/genSysQuestion/status', body)
}

// 扩展相似问 系统相似问列表
export async function postGenSysQuestionList(body) {
  return http.postFormData('/learn/knowledge/examine/similar/genSysQuestion/list', body)
}

// 扩展相似问 添加到知识点
export async function postGenSysQuestionAdd(body) {
  return http.post('/learn/knowledge/examine/similar/genSysQuestion/add', body)
}
